<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>TechBlog - 开发者技术博客社区</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            /* 亮色主题变量 */
            --bg-color: #ffffff;
            --text-color: #24292f;
            --border-color: #d0d7de;
            --card-bg: #f6f8fa;
            --header-bg: #f6f8fa;
            --accent-color: #0969da;
            --accent-hover: #0550ae;
            --code-bg: rgba(175, 184, 193, 0.2);
            --shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
            --tag-bg: #ddf4ff;
            --tag-color: #0969da;
            --filter-bg: #f6f8fa;
            --input-bg: #ffffff;
            --hero-bg: #f6f8fa;
        }

        .dark-theme {
            /* 深色主题变量 */
            --bg-color: #0d1117;
            --text-color: #e6edf3;
            --border-color: #30363d;
            --card-bg: #161b22;
            --header-bg: #161b22;
            --accent-color: #2f81f7;
            --accent-hover: #1c6bdb;
            --code-bg: rgba(110, 118, 129, 0.4);
            --shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.7);
            --tag-bg: #388bfd26;
            --tag-color: #58a6ff;
            --filter-bg: #161b22;
            --input-bg: #0d1117;
            --hero-bg: #0d1117;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            transition: background-color 0.3s, color 0.3s, border-color 0.3s;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.5;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 头部导航 */
        header {
            background-color: var(--header-bg);
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            position: relative;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            font-size: 20px;
            color: var(--text-color);
            text-decoration: none;
            z-index: 101;
        }

        .logo i {
            color: var(--accent-color);
        }

        .nav-links {
            display: flex;
            gap: 24px;
        }

        .nav-links a {
            color: var(--text-color);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .nav-links a:hover {
            color: var(--accent-color);
        }

        .nav-links a.active {
            color: var(--accent-color);
            font-weight: 600;
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .btn {
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid var(--border-color);
        }

        .btn-primary {
            background-color: var(--accent-color);
            color: white;
            border-color: var(--accent-color);
        }

        .btn-primary:hover {
            background-color: var(--accent-hover);
            border-color: var(--accent-hover);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--text-color);
        }

        .btn-secondary:hover {
            background-color: var(--code-bg);
        }

        .theme-toggle {
            background: none;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 8px 12px;
            color: var(--text-color);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            transition: all 0.2s ease;
        }

        .theme-toggle:hover {
            background-color: var(--code-bg);
        }

        .mobile-menu {
            display: none;
            background: none;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            color: var(--text-color);
            cursor: pointer;
            padding: 8px 12px;
            font-size: 16px;
            transition: all 0.2s ease;
        }

        .mobile-menu:hover {
            background-color: var(--code-bg);
        }

        /* 英雄区域 */
        .hero {
            background-color: var(--hero-bg);
            padding: 80px 0;
            text-align: center;
            border-bottom: 1px solid var(--border-color);
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero h1 {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 16px;
            line-height: 1.2;
        }

        .hero p {
            font-size: 20px;
            margin-bottom: 32px;
            opacity: 0.8;
            line-height: 1.6;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-top: 60px;
            flex-wrap: wrap;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 36px;
            font-weight: 700;
            color: var(--accent-color);
            margin-bottom: 8px;
        }

        .stat-label {
            font-size: 14px;
            opacity: 0.8;
        }

        /* 主要内容区域 */
        .main-content {
            padding: 80px 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 48px;
        }

        .section-header h2 {
            font-size: 32px;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .section-header p {
            font-size: 18px;
            max-width: 600px;
            margin: 0 auto;
            opacity: 0.8;
        }

        /* 内容网格 */
        .content-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
            margin-bottom: 60px;
        }

        .content-card {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 24px;
            transition: all 0.2s ease;
        }

        .content-card:hover {
            border-color: var(--accent-color);
            transform: translateY(-4px);
        }

        .card-icon {
            font-size: 32px;
            color: var(--accent-color);
            margin-bottom: 16px;
        }

        .content-card h3 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .content-card p {
            font-size: 14px;
            opacity: 0.8;
            margin-bottom: 16px;
        }

        .card-link {
            color: var(--accent-color);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: all 0.2s ease;
        }

        .card-link:hover {
            gap: 8px;
        }

        /* 文章预览 */
        .articles-preview {
            margin-bottom: 60px;
        }

        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 24px;
        }

        .article-card {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 20px;
            transition: all 0.2s ease;
        }

        .article-card:hover {
            border-color: var(--accent-color);
            transform: translateY(-2px);
        }

        .article-meta {
            display: flex;
            gap: 12px;
            margin-bottom: 12px;
            font-size: 12px;
            opacity: 0.7;
        }

        .article-tags {
            display: flex;
            gap: 6px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }

        .tag {
            background-color: var(--tag-bg);
            color: var(--tag-color);
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 500;
        }

        .article-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .article-title a {
            color: var(--accent-color);
            text-decoration: none;
        }

        .article-title a:hover {
            text-decoration: underline;
        }

        .article-excerpt {
            font-size: 14px;
            opacity: 0.8;
            margin-bottom: 16px;
            line-height: 1.5;
        }

        .article-author {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            opacity: 0.7;
        }

        .author-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
        }

        /* 社区特色 */
        .community-features {
            background-color: var(--hero-bg);
            padding: 60px 0;
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 32px;
        }

        .feature-item {
            text-align: center;
        }

        .feature-icon {
            font-size: 40px;
            color: var(--accent-color);
            margin-bottom: 16px;
        }

        .feature-item h3 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .feature-item p {
            font-size: 14px;
            opacity: 0.8;
        }

        /* CTA区域 */
        .cta-section {
            padding: 80px 0;
            text-align: center;
        }

        .cta-content {
            max-width: 600px;
            margin: 0 auto;
        }

        .cta-content h2 {
            font-size: 32px;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .cta-content p {
            font-size: 18px;
            margin-bottom: 32px;
            opacity: 0.8;
        }

        /* 页脚 */
        footer {
            border-top: 1px solid var(--border-color);
            padding: 60px 0 32px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 8px;
        }

        .footer-links a {
            color: var(--text-color);
            text-decoration: none;
            font-size: 14px;
            opacity: 0.8;
            transition: all 0.2s ease;
        }

        .footer-links a:hover {
            opacity: 1;
            color: var(--accent-color);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 32px;
            border-top: 1px solid var(--border-color);
            font-size: 14px;
            opacity: 0.7;
        }

        /* 响应式设计优化 */
        @media (max-width: 768px) {
            .container {
                padding: 0 16px;
            }

            .navbar {
                padding: 12px 0;
            }

            .logo {
                font-size: 18px;
            }

            .nav-links {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: var(--header-bg);
                border-top: 1px solid var(--border-color);
                flex-direction: column;
                padding: 16px 20px;
                display: none;
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            }

            .nav-links.active {
                display: flex;
            }

            .nav-links a {
                padding: 12px 0;
                border-bottom: 1px solid var(--border-color);
                font-size: 16px;
            }

            .nav-links a:last-child {
                border-bottom: none;
            }

            .mobile-menu {
                display: block;
                min-height: 44px;
                min-width: 44px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .theme-toggle,
            .mobile-menu {
                padding: 10px 14px;
            }

            .hero {
                padding: 60px 0;
            }

            .hero h1 {
                font-size: 36px;
            }

            .hero p {
                font-size: 18px;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .hero-stats {
                gap: 30px;
            }

            .main-content {
                padding: 60px 0;
            }

            .section-header h2 {
                font-size: 28px;
            }

            .section-header p {
                font-size: 16px;
            }

            .content-grid {
                grid-template-columns: 1fr;
            }

            .articles-grid {
                grid-template-columns: 1fr;
            }

            .features-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .cta-section {
                padding: 60px 0;
            }

            .cta-content h2 {
                font-size: 28px;
            }

            .cta-content p {
                font-size: 16px;
            }

            /* 减少移动端的动画效果 */
            * {
                transition: none;
            }

            /* 保留必要的过渡 */
            .theme-toggle,
            .mobile-menu,
            .nav-links a,
            .btn,
            .card-link {
                transition: all 0.2s ease;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 12px;
            }

            .hero h1 {
                font-size: 32px;
            }

            .hero p {
                font-size: 16px;
            }

            .stat-number {
                font-size: 28px;
            }

            .section-header h2 {
                font-size: 24px;
            }

            .content-card {
                padding: 20px;
            }

            .article-card {
                padding: 16px;
            }
        }
    </style>
</head>

<body class="light-theme">
    <header>
        <div class="container">
            <nav class="navbar">
                <a href="index.html" class="logo">
                    <i class="fas fa-code"></i>
                    TechBlog
                </a>

                <div class="nav-links">
                    <a href="index.html" class="active">首页</a>
                    <a href="article-list.html">文章</a>
                    <a href="tutorial-list.html">教程</a>
                    <a href="projects.html">项目</a>
                    <a href="about.html">关于</a>
                </div>

                <div class="nav-actions">
                    <a href="login.html" class="btn btn-secondary">登录</a>
                    <a href="register.html" class="btn btn-primary">注册</a>
                    <button class="theme-toggle" id="themeToggle">
                        <i class="fas fa-moon"></i>
                        <span>深色模式</span>
                    </button>
                    <button class="mobile-menu" id="mobileMenu">
                        <i class="fas fa-bars"></i>
                    </button>
                </div>
            </nav>
        </div>
    </header>

    <section class="hero">
        <div class="container">
            <div class="hero-content">
                <h1>开发者技术博客社区</h1>
                <p>分享知识，交流技术，与全球开发者共同成长。探索前沿技术，记录学习历程，构建个人技术品牌。</p>
                <div class="hero-buttons">
                    <a href="register.html" class="btn btn-primary">立即加入</a>
                    <a href="#features" class="btn btn-secondary">了解更多</a>
                </div>
                <div class="hero-stats">
                    <div class="stat-item">
                        <div class="stat-number">1,200+</div>
                        <div class="stat-label">技术文章</div>
                    </div>
                    <div class="stat-item">
                        <div class="stat-number">850+</div>
                        <div class="stat-label">活跃作者</div>
                    </div>
                    <div class="stat-item">
                        <div class="stat-number">25,000+</div>
                        <div class="stat-label">社区成员</div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <div class="main-content">
        <div class="container">
            <section id="features" class="section-header">
                <h2>为什么选择 TechBlog？</h2>
                <p>我们为开发者提供最优质的技术内容创作和分享平台</p>
            </section>

            <div class="content-grid">
                <div class="content-card">
                    <div class="card-icon">
                        <i class="fas fa-pencil-alt"></i>
                    </div>
                    <h3>简洁的写作体验</h3>
                    <p>专注于内容创作，支持Markdown语法，实时预览，让写作更加高效愉悦。</p>
                    <a href="#" class="card-link">开始写作 <i class="fas fa-arrow-right"></i></a>
                </div>

                <div class="content-card">
                    <div class="card-icon">
                        <i class="fas fa-users"></i>
                    </div>
                    <h3>活跃的技术社区</h3>
                    <p>与志同道合的开发者交流互动，获取反馈，共同解决技术难题。</p>
                    <a href="#" class="card-link">探索社区 <i class="fas fa-arrow-right"></i></a>
                </div>

                <div class="content-card">
                    <div class="card-icon">
                        <i class="fas fa-chart-line"></i>
                    </div>
                    <h3>个人品牌建设</h3>
                    <p>通过高质量内容建立个人技术影响力，提升职业发展机会。</p>
                    <a href="#" class="card-link">查看案例 <i class="fas fa-arrow-right"></i></a>
                </div>
            </div>

            <section class="articles-preview">
                <div class="section-header">
                    <h2>热门技术文章</h2>
                    <p>来自社区的最新高质量技术内容</p>
                </div>

                <div class="articles-grid">
                    <article class="article-card">
                        <div class="article-meta">
                            <span><i class="far fa-calendar"></i> 2023-11-10</span>
                            <span><i class="far fa-eye"></i> 1.2k</span>
                        </div>
                        <div class="article-tags">
                            <span class="tag">React</span>
                            <span class="tag">性能优化</span>
                        </div>
                        <h3 class="article-title">
                            <a href="#">React 18 并发特性深度解析与实践指南</a>
                        </h3>
                        <p class="article-excerpt">
                            深入探讨React 18的并发渲染、自动批处理等新特性，并通过实际案例展示如何优化应用性能。
                        </p>
                        <div class="article-author">
                            <img src="https://avatars.githubusercontent.com/u/583231?v=4" alt="作者头像"
                                class="author-avatar">
                            <span>张开发者</span>
                        </div>
                    </article>

                    <article class="article-card">
                        <div class="article-meta">
                            <span><i class="far fa-calendar"></i> 2023-11-08</span>
                            <span><i class="far fa-eye"></i> 980</span>
                        </div>
                        <div class="article-tags">
                            <span class="tag">TypeScript</span>
                            <span class="tag">最佳实践</span>
                        </div>
                        <h3 class="article-title">
                            <a href="#">TypeScript 高级类型编程完全指南</a>
                        </h3>
                        <p class="article-excerpt">
                            从基础到高级，全面解析TypeScript的类型系统，掌握条件类型、映射类型等高级技巧。
                        </p>
                        <div class="article-author">
                            <img src="https://avatars.githubusercontent.com/u/583231?v=4" alt="作者头像"
                                class="author-avatar">
                            <span>李全栈</span>
                        </div>
                    </article>

                    <article class="article-card">
                        <div class="article-meta">
                            <span><i class="far fa-calendar"></i> 2023-11-05</span>
                            <span><i class="far fa-eye"></i> 1.5k</span>
                        </div>
                        <div class="article-tags">
                            <span class="tag">Node.js</span>
                            <span class="tag">微服务</span>
                        </div>
                        <h3 class="article-title">
                            <a href="#">基于Node.js构建高可用微服务架构</a>
                        </h3>
                        <p class="article-excerpt">
                            详细讲解如何使用Node.js构建可扩展的微服务系统，包括服务发现、负载均衡和容错处理。
                        </p>
                        <div class="article-author">
                            <img src="https://avatars.githubusercontent.com/u/583231?v=4" alt="作者头像"
                                class="author-avatar">
                            <span>王后端</span>
                        </div>
                    </article>
                </div>

                <div style="text-align: center; margin-top: 32px;">
                    <a href="article-list.html" class="btn btn-secondary">查看所有文章</a>
                </div>
            </section>
        </div>
    </div>

    <section class="community-features">
        <div class="container">
            <div class="section-header">
                <h2>社区特色功能</h2>
                <p>专为开发者设计的特色功能，提升技术分享体验</p>
            </div>

            <div class="features-grid">
                <div class="feature-item">
                    <div class="feature-icon">
                        <i class="fas fa-code"></i>
                    </div>
                    <h3>代码高亮与执行</h3>
                    <p>支持多种编程语言语法高亮，部分语言支持在线代码执行演示。</p>
                </div>

                <div class="feature-item">
                    <div class="feature-icon">
                        <i class="fas fa-share-alt"></i>
                    </div>
                    <h3>知识共享协议</h3>
                    <p>灵活的内容授权选项，保护创作者权益的同时促进知识传播。</p>
                </div>

                <div class="feature-item">
                    <div class="feature-icon">
                        <i class="fas fa-trophy"></i>
                    </div>
                    <h3>作者激励计划</h3>
                    <p>优质内容获得更多曝光，参与月度评选赢取奖励和荣誉。</p>
                </div>

                <div class="feature-item">
                    <div class="feature-icon">
                        <i class="fas fa-mobile-alt"></i>
                    </div>
                    <h3>多平台支持</h3>
                    <p>响应式设计，在桌面和移动设备上均能获得完美阅读体验。</p>
                </div>
            </div>
        </div>
    </section>

    <section class="cta-section">
        <div class="container">
            <div class="cta-content">
                <h2>加入 TechBlog 开发者社区</h2>
                <p>立即注册，开始您的技术写作之旅，与全球开发者分享知识与见解。</p>
                <div class="hero-buttons">
                    <a href="register.html" class="btn btn-primary">免费注册</a>
                    <a href="about.html" class="btn btn-secondary">了解更多</a>
                </div>
            </div>
        </div>
    </section>

    <footer>
        <div class="container">
            <div class="footer-content">
                <div class="footer-column">
                    <h3>TechBlog</h3>
                    <ul class="footer-links">
                        <li><a href="about.html">关于我们</a></li>
                        <li><a href="#">团队介绍</a></li>
                        <li><a href="#">加入我们</a></li>
                        <li><a href="#">媒体报道</a></li>
                    </ul>
                </div>

                <div class="footer-column">
                    <h3>内容</h3>
                    <ul class="footer-links">
                        <li><a href="article-list.html">技术文章</a></li>
                        <li><a href="tutorial-list.html">教程</a></li>
                        <li><a href="projects.html">项目</a></li>
                        <li><a href="#">专栏</a></li>
                    </ul>
                </div>

                <div class="footer-column">
                    <h3>帮助</h3>
                    <ul class="footer-links">
                        <li><a href="#">帮助中心</a></li>
                        <li><a href="#">社区指南</a></li>
                        <li><a href="terms.html">服务条款</a></li>
                        <li><a href="#">隐私政策</a></li>
                    </ul>
                </div>

                <div class="footer-column">
                    <h3>关注我们</h3>
                    <ul class="footer-links">
                        <li><a href="#"><i class="fab fa-github"></i> GitHub</a></li>
                        <li><a href="#"><i class="fab fa-twitter"></i> Twitter</a></li>
                        <li><a href="#"><i class="fab fa-weibo"></i> 微博</a></li>
                        <li><a href="#"><i class="fas fa-envelope"></i> 邮件订阅</a></li>
                    </ul>
                </div>
            </div>

            <div class="footer-bottom">
                <p>© 2023 TechBlog. 保留所有权利。 | 采用 Github 风格设计 | 由开发者为开发者打造</p>
            </div>
        </div>
    </footer>

    <script>
        // 主题切换功能
        const themeToggle = document.getElementById('themeToggle');
        const themeIcon = themeToggle.querySelector('i');
        const themeText = themeToggle.querySelector('span');

        // 检查本地存储的主题偏好
        const currentTheme = localStorage.getItem('theme') || 'light';
        if (currentTheme === 'dark') {
            document.body.classList.add('dark-theme');
            themeIcon.classList.remove('fa-moon');
            themeIcon.classList.add('fa-sun');
            themeText.textContent = '浅色模式';
        }

        themeToggle.addEventListener('click', () => {
            document.body.classList.toggle('dark-theme');

            if (document.body.classList.contains('dark-theme')) {
                themeIcon.classList.remove('fa-moon');
                themeIcon.classList.add('fa-sun');
                themeText.textContent = '浅色模式';
                localStorage.setItem('theme', 'dark');
            } else {
                themeIcon.classList.remove('fa-sun');
                themeIcon.classList.add('fa-moon');
                themeText.textContent = '深色模式';
                localStorage.setItem('theme', 'light');
            }
        });

        // 移动端菜单切换
        const mobileMenu = document.getElementById('mobileMenu');
        const navLinks = document.querySelector('.nav-links');
        const menuIcon = mobileMenu.querySelector('i');

        mobileMenu.addEventListener('click', () => {
            navLinks.classList.toggle('active');

            if (navLinks.classList.contains('active')) {
                menuIcon.classList.remove('fa-bars');
                menuIcon.classList.add('fa-times');
            } else {
                menuIcon.classList.remove('fa-times');
                menuIcon.classList.add('fa-bars');
            }
        });

        // 点击菜单外区域关闭菜单
        document.addEventListener('click', (e) => {
            if (!e.target.closest('.navbar') && navLinks.classList.contains('active')) {
                navLinks.classList.remove('active');
                menuIcon.classList.remove('fa-times');
                menuIcon.classList.add('fa-bars');
            }
        });

        // 窗口大小变化时调整菜单状态
        window.addEventListener('resize', () => {
            if (window.innerWidth > 768) {
                navLinks.classList.remove('active');
                menuIcon.classList.remove('fa-times');
                menuIcon.classList.add('fa-bars');
            }
        });
    </script>
</body>

</html>